
public class Constants {

		public static final boolean DEBUG = true;
	  
		public static final String LOCK_REQUEST = "LOCK_REQUEST";
		public static final String LOCK_ACK = "LOCK_ACK";
		public static final String LOCK_RELEASE = "LOCK_RELEASE";

		public static final String LOCK_MESSAGE = "LOCK_MESSAGE:";
		
		public static final String SYNCHRONIZE = "SYNCRONIZE";
		public static final String GET_DATA_DUMP = "GET_DATA_DUMP";		
		public static final String DATA_DUMP = "DATA_DUMP";
		
		public static final String DATA_DUMP_SEPERATOR= "|";
		public static final String CARRIAGE_RETURN ="<CARRIAGE_RETURN>";
		public static final String HOSTNAME = "localhost";
		public static final int NUM_SERVERS = 20;
		public static final int BASE_SERVER_PORT = 9000;
		
		public static final int INFINITY = -1;

		public static final String GET_INFO = "getinfo";
		public static final String RESERVE = "reserve";
		public static final String DELETE = "delete";
		public static final String SEARCH = "search";
		public static final String EXIT = "EXIT";

		public static final int NUM_SEATS = 1000;
		
		public static final String MOVIE_INFO = "Spider-Man 3 is a 2007 superhero film[3] written and directed by Sam Raimi, with a screenplay by Ivan Raimi and Alvin Sargent."
			+ " It is the third and final film of Sam Raimi\'s trilogy in the Spider-Man film franchise based on the fictional Marvel Comics character Spider-Man."
			+ " The film stars Tobey Maguire, Kirsten Dunst, James Franco, Thomas Haden Church, Topher Grace, Bryce Dallas Howard, Rosemary Harris, J.K. Simmons and James Cromwell."
			+ "\nThe film begins with Peter Parker basking in his acclaim as Spider-Man, while Mary Jane Watson continues her Broadway career. "
			+ " Harry Osborn still seeks vengeance for his father's death, and an escaped convict, Flint Marko, falls into a particle accelerator and is transformed into a shape-shifting sand manipulator. "
			+ " An extraterrestrial symbiote crashes to Earth and bonds with Peter, influencing his behavior for the worse. "
			+ " When Peter abandons the symbiote, it finds refuge in Eddie Brock, a rival photographer, causing Peter to face his greatest challenge."
			+ "\nSpider-Man 3 was commercially released in multiple countries on May 1, 2007, and released in the United States in both conventional and IMAX theaters on May 4, 2007, by Columbia Pictures. Although the film received mixed reviews from critics, in contrast to the previous two films' highly positive reviews, it stands as the most successful film in the series worldwide, Marvel's most successful film, and Sony Pictures Entertainment's highest grossing film to date. "
			+ " The film has been rated PG-13 by the MPAA in the United States and 12 by the BBFC in the United Kingdom for Sequences of Intense Action Violence."
			+ "Spider-Man 3 is a 2007 superhero film[3] written and directed by Sam Raimi, with a screenplay by Ivan Raimi and Alvin Sargent."
			+ " It is the third and final film of Sam Raimi\'s trilogy in the Spider-Man film franchise based on the fictional Marvel Comics character Spider-Man."
			+ " The film stars Tobey Maguire, Kirsten Dunst, James Franco, Thomas Haden Church, Topher Grace, Bryce Dallas Howard, Rosemary Harris, J.K. Simmons and James Cromwell."
			+ "\nThe film begins with Peter Parker basking in his acclaim as Spider-Man, while Mary Jane Watson continues her Broadway career. "
			+ " Harry Osborn still seeks vengeance for his father's death, and an escaped convict, Flint Marko, falls into a particle accelerator and is transformed into a shape-shifting sand manipulator. "
			+ " An extraterrestrial symbiote crashes to Earth and bonds with Peter, influencing his behavior for the worse. "
			+ " When Peter abandons the symbiote, it finds refuge in Eddie Brock, a rival photographer, causing Peter to face his greatest challenge."
			+ "\nSpider-Man 3 was commercially released in multiple countries on May 1, 2007, and released in the United States in both conventional and IMAX theaters on May 4, 2007, by Columbia Pictures. Although the film received mixed reviews from critics, in contrast to the previous two films' highly positive reviews, it stands as the most successful film in the series worldwide, Marvel's most successful film, and Sony Pictures Entertainment's highest grossing film to date. "
			+ " The film has been rated PG-13 by the MPAA in the United States and 12 by the BBFC in the United Kingdom for Sequences of Intense Action Violence."
			+ "Spider-Man 3 is a 2007 superhero film[3] written and directed by Sam Raimi, with a screenplay by Ivan Raimi and Alvin Sargent."
			+ " It is the third and final film of Sam Raimi\'s trilogy in the Spider-Man film franchise based on the fictional Marvel Comics character Spider-Man."
			+ " The film stars Tobey Maguire, Kirsten Dunst, James Franco, Thomas Haden Church, Topher Grace, Bryce Dallas Howard, Rosemary Harris, J.K. Simmons and James Cromwell."
			+ "\nThe film begins with Peter Parker basking in his acclaim as Spider-Man, while Mary Jane Watson continues her Broadway career. "
			+ " Harry Osborn still seeks vengeance for his father's death, and an escaped convict, Flint Marko, falls into a particle accelerator and is transformed into a shape-shifting sand manipulator. "
			+ " An extraterrestrial symbiote crashes to Earth and bonds with Peter, influencing his behavior for the worse. "
			+ " When Peter abandons the symbiote, it finds refuge in Eddie Brock, a rival photographer, causing Peter to face his greatest challenge."
			+ "\nSpider-Man 3 was commercially released in multiple countries on May 1, 2007, and released in the United States in both conventional and IMAX theaters on May 4, 2007, by Columbia Pictures. Although the film received mixed reviews from critics, in contrast to the previous two films' highly positive reviews, it stands as the most successful film in the series worldwide, Marvel's most successful film, and Sony Pictures Entertainment's highest grossing film to date. "
			+ " The film has been rated PG-13 by the MPAA in the United States and 12 by the BBFC in the United Kingdom for Sequences of Intense Action Violence.";

		
				
		public static void println(String s){
			if(DEBUG)
				System.out.println(s);
		}
		
		public static int getPort(int serverId){
			return BASE_SERVER_PORT + serverId;
		}

}
